package com.dsj.cloud.provide;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
/**
 * @EnableEurekaClient 表明自己有对外提供服务
 * @author pacy.pan
 *
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableEurekaClient
public class ProvideClientApplication {

    public static void main(String[] args) {
    	new SpringApplicationBuilder(ProvideClientApplication.class).web(true).run(args);
    }

}